FROM openjdk:8-jre-slim
ENV TZ='Asia/Shanghai'
VOLUME /home/server
WORKDIR /home/server
ADD minio.jar /home/server/app.jar
ENV JAVA_OPTS=""
EXPOSE 8080
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /home/server/app.jar" ]
